
// <copyright file="IResponse.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   Represents a response
// </summary>

namespace SubhadraSolutions.Sharp.Utils.RequestProcessing
{
    using System;

    /// <summary>
    ///     Represents a response
    /// </summary>
    public interface IResponse
    {
        #region Public Properties

        /// <summary>
        /// Gets or sets the message.
        /// </summary>
        /// <value>
        /// The message.
        /// </value>
        string Message { get; set; }

        /// <summary>
        /// Gets or sets the exception.
        /// </summary>
        /// <value>
        /// The exception.
        /// </value>
        Exception Exception { get; set; }

        /// <summary>
        ///     Gets or sets the request identifier.
        /// </summary>
        /// <value>
        ///     The request identifier.
        /// </value>
        string RequestId { get; set; }

        /// <summary>
        ///     Gets or sets the result.
        /// </summary>
        /// <value>
        ///     The result.
        /// </value>
        ProcessingResult Result { get; set; }

        #endregion
    }
}